package com.eci.common.asset.custom;

import java.util.ResourceBundle;
/**
 * 	读取自定义配置文件(custom.properties)具体key的值
 * */
public enum CustomReader {

	i;

	private  ResourceBundle config;

	static {
		i.config = ResourceBundle.getBundle("custom");
	}

	public static String getValue(String key) { 
		
		return i.config.getString(key);
	}
	
	public static boolean containsKey(String key) { 
		
		return i.config.containsKey(key);
	}

}
